package com.oop2.test5;

/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2022-09-18
 * Time: 20:34
 */
public class Student extends Person {
    double score;
    int age=20;
    
    public void study() {
        System.out.println("我可以学习。。。");
    }
    
    public void a() {
        System.out.println(age); //20
        System.out.println(this.age); //20
        System.out.println(super.age); //10
        eat();
        this.eat();
        super.eat();
        
    }
}